/* -*- c++ -*- */
/*
 * This file is part of the SD Project.
 *
 * Authors: Cleiber Marques da Silva <cleiber@lisha.ufsc.br>
 * 			Odilson Tadeu Valle <odilson@sj.ifsc.edu.br>
 * 
 * SD Project is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; version 2 of the License.
 */

#ifndef _LISTENER_IMPL_H_
#define _LISTENER_IMPL_H_

#include "listener.hh"
#include "clock.h"
#include "delivery.h"

namespace sd {
	class listener_impl : public POA_listener {
		private:
			sd::clock *clock;
			sd::delivery *delivery;
		public:
			listener_impl(sd::clock *_clock, sd::delivery *_delivery);
			virtual ~listener_impl() {}
			virtual void listen(const CORBA::Any& a);
			void tool(int id);
	};
}
#endif /* _LISTNER_IMPL_H_ */
